﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="OutProductList.aspx.cs" Inherits="EWMSWeb.Production.OutProductList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
    <div class="tab1">
	    <h2>生产出库维护</h2>
         <br />
           归属地：
        <asp:DropDownList ID="dropBelong" runat="server"   CssClass="dropBelong"  >
        </asp:DropDownList>
   
        处理地：
        <asp:DropDownList ID="dropGraphic" runat="server"   CssClass="dropGraphic"  >
        </asp:DropDownList>
        <div class="shadow">
            <table id="tbColl" class="display" cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                <thead>
                    <tr>
                        <th>序号</th>
                        <th>出库单号</th>
                        <th>虚拟Load号</th>
                         <th>归属地</th>
                          <th>处理地</th>
                        <th>出库单总重量</th>
                        <th>出库类型</th>
                        <th>出库单状态</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                    <asp:Repeater ID="reptSCOutList" runat="server">
                        <ItemTemplate>
                            <tr>
                              <td><%# Container.ItemIndex + 1 %></td>
                                <td><%# Eval("outStorageNo")%></td>
                                <td><%# Eval("VLoadNum")%></td>
                                <td><%# Eval("indepart")%></td>
                                <td><%# Eval("outdepart")%></td>
                                <td><%# Eval("totalWeight")%></td>
                                <td><%# Eval("currentWeight")%></td>
                                <td><%# GetStatus(Eval("status").ToString())%></td>
                                <td>  <a href="/RDLC/OutStorageRDLC.aspx?outStorID=<%# Eval("id") %>">报表打印</a> 
                                      <a href="OutProduct.aspx?outid=<%# Eval("id")%>">出库维护</a> 
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
  </tbody>
  </table>
  
</div>
   
  
</div>
 <script type="text/javascript">

     $(document).ready(function () {

         $('#tbColl').dataTable({ "oLanguage": { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
             "bJQueryUI": true,
             "sPaginationType": "full_numbers",
             'bPaginate': true,
             "bProcessing": true,
             "iDisplayLength": 50,
             "bSort": true,
             "aaSorting": [[0, "desc"]]
         });

//         var len = $('#tbColl tr').length;
//         for (var i = 1; i < len; i++) {
//             $('#tbColl tr:eq(' + i + ') td:first').text(i);
//         }
     });
 
</script>
</asp:Content>
